Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix query differences #27

Merged
merged 1 commit into from
Oct 19, 2011
Merged

Fix query differences #27

merged 1 commit into from
Oct 19, 2011

Conversation

willkg
Copy link
Collaborator

@willkg willkg commented Oct 19, 2011

  • search.clients ignores Sphinx errors, but oedipus didn't. This
    changes oedipus to log the error, but return [].
  • _sanitize_query wasn't sanitizing /. This changes oedipus to
    sanitize / as /.
  • Adds tests for the fixes.

This fixed the problem in bug #695667 and also papers the way forward to fixing future syntax issues.

r?

* search.clients ignores Sphinx errors, but oedipus didn't.  This
  changes oedipus to log the error, but return [].
* _sanitize_query wasn't sanitizing /.  This changes oedipus to
  sanitize / as \/.
* Adds tests for the fixes.
@jsocol
Copy link

jsocol commented Oct 19, 2011

r+

@willkg willkg merged commit 6b8f0e5 into erikrose:master Oct 19, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants